﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess.Implementation;
using DataAccess;
using BusinessCommon.DTO;
using BusinessCommon.Responce;
using BusinessCommon.Request;

namespace StoreWCF
{
    public partial class Service1 : IService2
    {
        private static readonly IUserLogin userDao = DataAccessInterface.UserLoginDao;

        public UserResponce GetData2(UserRequest request)
        {
            UserResponce responce = new UserResponce();
            //UserDto userDto = userDao.GetUserLogin(request.UserName, request.Password);
            //List<UserDto> list = new List<UserDto>();
            //if (userDto != null)
            //{
            //    list.Add(userDto);
            //}
            //responce.userDto = list;
            return responce;
        }
    }
}
